
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.Window;

import javax.swing.JFrame;

public class Main 
{
	 Window w;
	 JFrame frame;
	
	
	     
	
	
	
	public static void main(String[] args)
	{
		//1. Create the frame.
		JFrame frame = new JFrame("FrameDemo");

		//2. Optional: What happens when the frame closes?
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		//3. Create components and put them in the frame.
		//...create emptyLabel...
		frame.getContentPane().add(frame, BorderLayout.CENTER);

		//4. Size the frame.
		frame.pack();

		//5. Show it.
		frame.setVisible(true);

		
	}

}
